package libsys.general;

import libsys.general.LIBSYSSystem;
import libsys.gui.items.SettingsFontsAndColorsPanelItems;

public class NavigationPanelsDesigner
{
		LIBSYSSystem LibrarySystem;
		
		public NavigationPanelsDesigner(LIBSYSSystem LibrarySystem)
		{
				this.LibrarySystem = LibrarySystem;
		}
		
		public void loadNavigationBooksBorrowingsPanel()
		{
				LibrarySystem.FrameItems.navigationFrameItems.tab_panel.removeAll();
				LibrarySystem.FrameList.NavigationFrame.repaint();
				
				javax.swing.GroupLayout borrowingbooksdata_panelLayout = new javax.swing.GroupLayout(LibrarySystem.FrameItems.borrowingPanelItems.borrowingbooksdata_panel);
                                LibrarySystem.FrameItems.borrowingPanelItems.borrowingbooksdata_panel.setLayout(borrowingbooksdata_panelLayout);
                                borrowingbooksdata_panelLayout.setHorizontalGroup(
                                                borrowingbooksdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addGroup(borrowingbooksdata_panelLayout.createSequentialGroup()
                                                                .addContainerGap()
                                                                .addGroup(borrowingbooksdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookduedate_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookborrowdate_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookprice_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookedition_lbl, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookpublisher_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookauthor_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.booktitle_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookaccnumber_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 199, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                                .addGroup(borrowingbooksdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookduedate_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookborrowdate_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookprice_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookedition_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookpublisher_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookauthor_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.booktitle_txt, javax.swing.GroupLayout.DEFAULT_SIZE, 192, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookaccnumber_txt, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                .addContainerGap(407, Short.MAX_VALUE))
                                );
                                borrowingbooksdata_panelLayout.setVerticalGroup(
                                                borrowingbooksdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addGroup(borrowingbooksdata_panelLayout.createSequentialGroup()
                                                                .addGroup(borrowingbooksdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                                .addGroup(borrowingbooksdata_panelLayout.createSequentialGroup()
                                                                                                .addGap(17, 17, 17)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookaccnumber_label)
                                                                                                .addGap(17, 17, 17)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.booktitle_label)
                                                                                                .addGap(17, 17, 17)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookauthor_label)
                                                                                                .addGap(17, 17, 17)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookpublisher_label)
                                                                                                .addGap(17, 17, 17)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookedition_lbl)
                                                                                                .addGap(17, 17, 17)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookprice_label)
                                                                                                .addGap(64, 64, 64)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookborrowdate_label)
                                                                                                .addGap(24, 24, 24)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookduedate_label))
                                                                                .addGroup(borrowingbooksdata_panelLayout.createSequentialGroup()
                                                                                                .addContainerGap()
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookaccnumber_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.booktitle_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookauthor_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookpublisher_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookedition_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookprice_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                .addGap(58, 58, 58)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookborrowdate_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                .addGap(18, 18, 18)
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.bookduedate_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                                                .addContainerGap(26, Short.MAX_VALUE))
                                );

                                javax.swing.GroupLayout borrowerimagelabelholder_panelLayout = new javax.swing.GroupLayout(LibrarySystem.FrameItems.borrowingPanelItems.borrowerimagelabelholder_panel);
                                LibrarySystem.FrameItems.borrowingPanelItems.borrowerimagelabelholder_panel.setLayout(borrowerimagelabelholder_panelLayout);
                                borrowerimagelabelholder_panelLayout.setHorizontalGroup(
                                                borrowerimagelabelholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.imagedestination_label, javax.swing.GroupLayout.PREFERRED_SIZE, 211, javax.swing.GroupLayout.PREFERRED_SIZE)
                                );
                                borrowerimagelabelholder_panelLayout.setVerticalGroup(
                                                borrowerimagelabelholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.imagedestination_label, javax.swing.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE)
                                );

                                javax.swing.GroupLayout borrowingstudentsdata_panelLayout = new javax.swing.GroupLayout(LibrarySystem.FrameItems.borrowingPanelItems.borrowingstudentsdata_panel);
                                LibrarySystem.FrameItems.borrowingPanelItems.borrowingstudentsdata_panel.setLayout(borrowingstudentsdata_panelLayout);
                                borrowingstudentsdata_panelLayout.setHorizontalGroup(
                                                borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, borrowingstudentsdata_panelLayout.createSequentialGroup()
                                                                .addContainerGap(708, Short.MAX_VALUE)
                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.exit_btn, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addGap(20, 20, 20))
                                                .addGroup(borrowingstudentsdata_panelLayout.createSequentialGroup()
                                                                .addContainerGap()
                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweraddress_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweremail_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowerphone_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowersex_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowername_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweraccnumber_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 198, Short.MAX_VALUE))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweraddresstextarea_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 194, Short.MAX_VALUE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.email_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowersex_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowerphone_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowername_txt)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweraccnumber_txt, javax.swing.GroupLayout.DEFAULT_SIZE, 193, Short.MAX_VALUE))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowerimagelabelholder_panel, javax.swing.GroupLayout.DEFAULT_SIZE, 390, Short.MAX_VALUE)
                                                                .addContainerGap())
                                                .addGroup(borrowingstudentsdata_panelLayout.createSequentialGroup()
                                                                .addGap(117, 117, 117)
                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingtransmit_btn, javax.swing.GroupLayout.PREFERRED_SIZE, 170, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addGap(44, 44, 44)
                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingprint_btn, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addContainerGap(320, Short.MAX_VALUE))
                                );
                                borrowingstudentsdata_panelLayout.setVerticalGroup(
                                                borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addGroup(borrowingstudentsdata_panelLayout.createSequentialGroup()
                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                                                                .addGroup(borrowingstudentsdata_panelLayout.createSequentialGroup()
                                                                                                .addContainerGap()
                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowerimagelabelholder_panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                .addGroup(javax.swing.GroupLayout.Alignment.LEADING, borrowingstudentsdata_panelLayout.createSequentialGroup()
                                                                                                .addGap(20, 20, 20)
                                                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweraccnumber_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweraccnumber_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowername_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowername_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowersex_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowersex_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowerphone_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowerphone_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweremail_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.email_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweraddress_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borroweraddresstextarea_scrollpane, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE))))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 74, Short.MAX_VALUE)
                                                                .addGroup(borrowingstudentsdata_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingtransmit_btn)
                                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingprint_btn))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 7, Short.MAX_VALUE)
                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.exit_btn)
                                                                .addGap(22, 22, 22))
                                );

                                javax.swing.GroupLayout booksborrowingcomponentholder_panelLayout = new javax.swing.GroupLayout(LibrarySystem.FrameItems.borrowingPanelItems.booksborrowingcomponentholder_panel);
                                LibrarySystem.FrameItems.borrowingPanelItems.booksborrowingcomponentholder_panel.setLayout(booksborrowingcomponentholder_panelLayout);
                                booksborrowingcomponentholder_panelLayout.setHorizontalGroup(
                                                booksborrowingcomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addGap(0, 812, Short.MAX_VALUE)
                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingbooksdata_panel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingstudentsdata_panel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                );
                                booksborrowingcomponentholder_panelLayout.setVerticalGroup(
                                                booksborrowingcomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addGap(0, 732, Short.MAX_VALUE)
                                                .addGroup(booksborrowingcomponentholder_panelLayout.createSequentialGroup()
                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingbooksdata_panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingstudentsdata_panel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                );

                                LibrarySystem.FrameItems.borrowingPanelItems.borrowingspanelholder_scrollpane.setViewportView(LibrarySystem.FrameItems.borrowingPanelItems.booksborrowingcomponentholder_panel);

                                javax.swing.GroupLayout bookborrowings_panelLayout = new javax.swing.GroupLayout(LibrarySystem.FrameItems.navigationFrameItems.tab_panel);
                                LibrarySystem.FrameItems.navigationFrameItems.tab_panel.setLayout(bookborrowings_panelLayout);
                                bookborrowings_panelLayout.setHorizontalGroup(
                                                bookborrowings_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingspanelholder_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 814, Short.MAX_VALUE)
                                );
                                bookborrowings_panelLayout.setVerticalGroup(
                                                bookborrowings_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(LibrarySystem.FrameItems.borrowingPanelItems.borrowingspanelholder_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 682, Short.MAX_VALUE)
                                );
				
				LibrarySystem.FrameList.NavigationFrame.repaint();
		}
		
		public void loadNavigationBooksReturnsPanel()
		{
				LibrarySystem.FrameItems.navigationFrameItems.tab_panel.removeAll();				
				LibrarySystem.FrameList.NavigationFrame.repaint();
				
				javax.swing.GroupLayout booksreturncomponentholder_panelLayout = new javax.swing.GroupLayout(LibrarySystem.FrameItems.returnPanelItems.booksreturncomponentholder_panel);
                                LibrarySystem.FrameItems.returnPanelItems.booksreturncomponentholder_panel.setLayout(booksreturncomponentholder_panelLayout);
                                booksreturncomponentholder_panelLayout.setHorizontalGroup(
                                                booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addGroup(booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                .addContainerGap()
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                                .addGroup(booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borroweremail_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowerphone_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowersex_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowername_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowernumber_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookprice_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookedition_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookpublisher_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookauthor_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookname_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookaccnumber_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 168, Short.MAX_VALUE)
                                                                                                                .addGroup(javax.swing.GroupLayout.Alignment.LEADING, booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.fineamount_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookborrowddate_label, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 75, Short.MAX_VALUE))
                                                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.fineamount_txt, javax.swing.GroupLayout.DEFAULT_SIZE, 89, Short.MAX_VALUE)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookborrowdate_txt, javax.swing.GroupLayout.Alignment.LEADING))))
                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                                                .addGap(54, 54, 54)
                                                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.finepaid_checkbox)
                                                                                                                                                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookduedate_label, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookduedate_txt, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                                                                                .addGap(54, 54, 54)
                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookreturndate_label, javax.swing.GroupLayout.PREFERRED_SIZE, 72, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookreturndate_txt, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                                                                                                                .addGap(49, 49, 49)
                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.imposefine_checkbox))
                                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                                                .addGap(69, 69, 69)
                                                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookprice_txt)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookname_txt)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookaccnumber_txt, javax.swing.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookauthor_txt)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookpublisher_txt)
                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookedition_txt)
                                                                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                                                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowername_txt, javax.swing.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE)
                                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowernumber_txt)
                                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowersex_txt, javax.swing.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE)
                                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowerphone_txt, javax.swing.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE)
                                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borroweremail_txt, javax.swing.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE)
                                                                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borroweraddresstextarea_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 270, Short.MAX_VALUE))))
                                                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.imagedestination_label, javax.swing.GroupLayout.PREFERRED_SIZE, 211, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                                                                                .addContainerGap(73, Short.MAX_VALUE))
                                                                                .addGroup(booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borroweraddress_label, javax.swing.GroupLayout.DEFAULT_SIZE, 122, Short.MAX_VALUE)
                                                                                                .addGap(679, 679, 679))))
                                                .addGroup(booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                .addGap(192, 192, 192)
                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowingtransmit_btn, javax.swing.GroupLayout.PREFERRED_SIZE, 170, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addGap(56, 56, 56)
                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowingprint_btn, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 102, Short.MAX_VALUE)
                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.exit_btn, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addGap(46, 46, 46))
                                );
                                booksreturncomponentholder_panelLayout.setVerticalGroup(
                                                booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addGroup(booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                .addContainerGap()
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookaccnumber_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookaccnumber_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookname_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookname_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookauthor_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookauthor_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookpublisher_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookpublisher_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookedition_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookedition_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookprice_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookprice_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                .addGap(30, 30, 30)
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookborrowddate_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookduedate_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookduedate_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookborrowdate_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookreturndate_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.bookreturndate_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.imposefine_checkbox))
                                                                .addGap(18, 18, 18)
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.fineamount_label)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.fineamount_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.finepaid_checkbox))
                                                                .addGap(30, 30, 30)
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                                                .addGroup(booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowernumber_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowernumber_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addGap(18, 18, 18)
                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowername_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowername_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addGap(18, 18, 18)
                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowersex_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowersex_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addGap(18, 18, 18)
                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowerphone_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowerphone_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addGap(18, 18, 18)
                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borroweremail_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borroweremail_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borroweraddress_label)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borroweraddresstextarea_scrollpane, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.imagedestination_label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 47, Short.MAX_VALUE)
                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                .addGroup(booksreturncomponentholder_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowingtransmit_btn)
                                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.borrowingprint_btn))
                                                                                                .addContainerGap(47, Short.MAX_VALUE))
                                                                                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, booksreturncomponentholder_panelLayout.createSequentialGroup()
                                                                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.exit_btn)
                                                                                                .addGap(27, 27, 27))))
                                );

                                LibrarySystem.FrameItems.returnPanelItems.returnspanelholder_scrollpane.setViewportView(LibrarySystem.FrameItems.returnPanelItems.booksreturncomponentholder_panel);

                                javax.swing.GroupLayout tab_panelLayout = new javax.swing.GroupLayout(LibrarySystem.FrameItems.navigationFrameItems.tab_panel);
                                LibrarySystem.FrameItems.navigationFrameItems.tab_panel.setLayout(tab_panelLayout);
                                tab_panelLayout.setHorizontalGroup(
                                                tab_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.returnspanelholder_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 813, Short.MAX_VALUE)
                                );
                                tab_panelLayout.setVerticalGroup(
                                                tab_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(LibrarySystem.FrameItems.returnPanelItems.returnspanelholder_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 686, Short.MAX_VALUE)
                                );
				
				LibrarySystem.FrameList.NavigationFrame.repaint();
		}
}